encoding/json/jsontext.objectNamespace.mapNames (field)
10 uses
encoding/json/jsontext (current package)
state.go#L724: mapNames map[string]struct{}
state.go#L731: ns.mapNames = nil
state.go#L782: if ns.mapNames == nil && (ns.length() > 64 || len(ns.allUnquotedNames) > 1024) {
state.go#L783: ns.mapNames = make(map[string]struct{})
state.go#L787: ns.mapNames[string(name)] = struct{}{} // allocates a new string
state.go#L792: if ns.mapNames == nil {
state.go#L805: if _, ok := ns.mapNames[string(name)]; ok {
state.go#L808: ns.mapNames[string(name)] = struct{}{} // allocates a new string
state.go#L818: if ns.mapNames != nil {
state.go#L819: delete(ns.mapNames, string(ns.lastUnquoted()))
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)